package com.sc.admin.model.entity.sys;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 *@Author shen chen
 *@Date 2024-12-17
 */

/**
 * 角色和菜单关联表
 */
@Schema(description = "角色和菜单关联表")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "sys_role_menu")
public class SysRoleMenu implements Serializable {
    @TableField(value = "role_id")
    @Schema(description = "角色ID")
    private Long roleId;

    @TableField(value = "menu_id")
    @Schema(description = "菜单ID")
    private Long menuId;

    private static final long serialVersionUID = 1L;
}